package com.qf.entity;

public class User {
    private int id;
    private String phone;
    private String password;
    private String id_num;
    private String username;

    public User(int id, String phone, String password, String id_num, String username) {
        this.id = id;
        this.phone = phone;
        this.password = password;
        this.id_num = id_num;
        this.username = username;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getId_num() {
        return id_num;
    }

    public void setId_num(String id_num) {
        this.id_num = id_num;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", id_num='" + id_num + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}